<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

        <meta name="description" content="Biz HTML templeate by CodexCoder" />

        <!-- favicon --> 
        <link rel="shortcut icon" href="<?php echo Yii::app()->request->baseUrl; ?>/front/images/favicon/favicon.png" />
        <link rel="apple-touch-icon" href="<?php echo Yii::app()->request->baseUrl; ?>/front/images/favicon/apple-touch-icon.png" />
        <link rel="apple-touch-icon" sizes="72x72" href="<?php echo Yii::app()->request->baseUrl; ?>/front/images/favicon/apple-touch-icon-72x72.png" />
        <link rel="apple-touch-icon" sizes="114x114" href="<?php echo Yii::app()->request->baseUrl; ?>/front/images/favicon/apple-touch-icon-114x114.png" />
        <link rel="apple-touch-icon" sizes="144x144" href="<?php echo Yii::app()->request->baseUrl; ?>/front/images/favicon/apple-touch-icon.png" />

        <meta name="author" content="CodexCoder" />

        <!-- Mobile Specific Meta -->
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->

        <!-- Bootstrap  -->
        <link href="<?php echo Yii::app()->request->baseUrl; ?>/front/css/bootstrap.min.css" rel="stylesheet" />

        <!-- icon fonts font Awesome -->
        <link href="<?php echo Yii::app()->request->baseUrl; ?>/front/css/font-awesome.min.css" rel="stylesheet" />

        <!-- Custom Styles -->
        <link href="<?php echo Yii::app()->request->baseUrl; ?>/front/css/style.css" rel="stylesheet" />
        <link href="<?php echo Yii::app()->request->baseUrl; ?>/front/css/responsive.css" rel="stylesheet" />

        <!--[if lt IE 9]>
        <script src="<?php echo Yii::app()->request->baseUrl; ?>/front/js/html5shiv.js"></script>
        <![endif]-->

        <!-- Important owl stylesheet -->
        <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/front/css/owl.carousel.css" />

        <!-- Important prettyPhoto stylesheet -->
        <link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/front/css/prettyPhoto.css" />


        <title>Biz HTML Template</title>
    </head>

    <body>

        <!-- Preloader -->
        <div id="preloader">
            <div class="loader">
                <span></span>
                <span></span>
                <span></span>
            </div>
        </div>
        <!-- Preloader End -->

        <div id="page-top"></div>

        <?php echo $content; ?>

        <!-- Footer Section -->
        <footer id="footer-section" class="footer-section section-gray-bg clearfix element-from-bottom">
            <div class="copyrights">
                &copy; <strong>BiZ</strong> 2014, All Rights Reserved | Designed and Developed by <a href="http://www.codexcoder.com/">CodexCoder</a>
            </div><!-- /.copyrights -->
        </footer><!-- /#footer-section -->
        <!-- Footer Section End -->



        <!-- Scroll to Top -->
        <div id="scroll-to-top">
            <span class="small-hex-btn">
                <span><i class="fa fa-chevron-up"></i></span>
            </span>
        </div><!-- /#scroll-to-top -->
        <!-- Scroll to Top End-->



        <!-- Include jquery.min.js plugin -->
        <script src="<?php echo Yii::app()->request->baseUrl; ?>/front/js/jquery-2.1.0.min.js"></script>
        <!-- Modernizr js -->
        <script src="<?php echo Yii::app()->request->baseUrl; ?>/front/js/modernizr-2.8.0.min.js"></script>

        <!-- included plugins inside  plugins.js -->
        <script src="<?php echo Yii::app()->request->baseUrl; ?>/front/js/plugins.js"></script>

        <!-- Include functions.js -->
        <script src="<?php echo Yii::app()->request->baseUrl; ?>/front/js/functions.js"></script>


        <!-- Include Google Map API -->
        <script src="http://maps.google.com/maps/api/js?sensor=true"></script>

        <!-- Include gmaps.js for Google Map -->
        <script src="<?php echo Yii::app()->request->baseUrl; ?>/front/js/gmaps.js"></script>

        <script type="text/javascript">
            /* Google Map - with support of gmaps.js
             -----------------------------------------------------------------------*/
            var map;
            $(document).ready(function() {
                map = new GMaps({
                    div: '#map',
                    lat: 23.709921,
                    lng: 90.407143,
                    scrollwheel: false,
                    panControl: false,
                    zoomControl: false,
                });

                map.addMarker({
                    lat: 23.709921,
                    lng: 90.407143,
                    title: 'CodexCoder',
                    infoWindow: {
                        content: '<p>CodexCoder</p>'
                    },
                    icon: "<?php echo Yii::app()->request->baseUrl; ?>/front/images/mapicon.png"
                });
            });



            /* Current Menu Item 
             -----------------------------------------------------------------------*/
            jQuery(document).ready(function($) {
                "use strict";
                $('#main-menu #headernavigation').onePageNav({
                    currentClass: 'active',
                    changeHash: false,
                    scrollSpeed: 750,
                    scrollThreshold: 0.5,
                    scrollOffset: 60,
                    filter: '',
                    easing: 'swing'
                });
            });

        </script>
        <script>
            (function(i, s, o, g, r, a, m) {
                i['GoogleAnalyticsObject'] = r;
                i[r] = i[r] || function() {
                    (i[r].q = i[r].q || []).push(arguments)
                }, i[r].l = 1 * new Date();
                a = s.createElement(o),
                        m = s.getElementsByTagName(o)[0];
                a.async = 1;
                a.src = g;
                m.parentNode.insertBefore(a, m)
            })(window, document, 'script', '../../../www.google-analytics.com/analytics.js', 'ga');

            ga('create', 'UA-50663676-1', 'codexcoder.com');
            ga('send', 'pageview');

        </script>
    </body>
</html>
